package mypackage.bean;

import java.util.Date;

/**
 * @author YH925
 * @create 2021/12/12 16:25
 */
public class ReceiveOrder {
    private int id;
    private String name;
    private int amount;
    private double price;
    private String sendAddress;
    private Date saleTime;
    private String acceptAddress;
    private String acceptName;
    private String tel;

    public ReceiveOrder() {
    }

    public ReceiveOrder(int id, String name, int amount, double price, String sendAddress, Date saleTime, String acceptAddress, String acceptName, String tel) {
        this.id = id;
        this.name = name;
        this.amount = amount;
        this.price = price;
        this.sendAddress = sendAddress;
        this.saleTime = saleTime;
        this.acceptAddress = acceptAddress;
        this.acceptName = acceptName;
        this.tel = tel;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getSendAddress() {
        return sendAddress;
    }

    public void setSendAddress(String sendAddress) {
        this.sendAddress = sendAddress;
    }

    public Date getSaleTime() {
        return saleTime;
    }

    public void setSaleTime(Date saleTime) {
        this.saleTime = saleTime;
    }

    public String getAcceptAddress() {
        return acceptAddress;
    }

    public void setAcceptAddress(String acceptAddress) {
        this.acceptAddress = acceptAddress;
    }

    public String getAcceptName() {
        return acceptName;
    }

    public void setAcceptName(String acceptName) {
        this.acceptName = acceptName;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    @Override
    public String toString() {
        return "ReceiveOrder{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", amount=" + amount +
                ", price=" + price +
                ", sendAddress='" + sendAddress + '\'' +
                ", saleTime=" + saleTime +
                ", acceptAddress='" + acceptAddress + '\'' +
                ", acceptName='" + acceptName + '\'' +
                ", tel='" + tel + '\'' +
                '}';
    }
}
